<?php

namespace Portal\ProfileBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * ContentCategory
 *
 * @ORM\Table(name="content_category")
 * @ORM\Entity
 */
class ContentCategory
{
    /**
     * @var integer
     *
     * @ORM\Column(name="category_id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $categoryId;

    /**
     * @var string
     *
     * @ORM\Column(name="category_name", type="string", length=512, nullable=false)
     */
    private $categoryName;

    /**
     * @var integer
     *
     * @ORM\Column(name="category_type", type="integer", nullable=true)
     */
    private $categoryType;

    /**
     * @var boolean
     *
     * @ORM\Column(name="is_active", type="boolean", nullable=false)
     */
    private $isActive;

    /**
     * @var integer
     *
     * @ORM\Column(name="created_user_id", type="integer", nullable=true)
     */
    private $createdUserId;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="created_at", type="datetime", nullable=true)
     */
    private $createdAt;

    /**
     * @var integer
     *
     * @ORM\Column(name="updated_user_id", type="integer", nullable=true)
     */
    private $updatedUserId;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="updated_at", type="datetime", nullable=false)
     */
    private $updatedAt;

    /**
     * @var string
     *
     * @ORM\Column(name="created_user_ip", type="string", length=16, nullable=true)
     */
    private $createdUserIp;



    /**
     * Get categoryId
     *
     * @return integer 
     */
    public function getCategoryId()
    {
        return $this->categoryId;
    }

    /**
     * Set categoryName
     *
     * @param string $categoryName
     * @return ContentCategory
     */
    public function setCategoryName($categoryName)
    {
        $this->categoryName = $categoryName;
    
        return $this;
    }

    /**
     * Get categoryName
     *
     * @return string 
     */
    public function getCategoryName()
    {
        return $this->categoryName;
    }

    /**
     * Set categoryType
     *
     * @param integer $categoryType
     * @return ContentCategory
     */
    public function setCategoryType($categoryType)
    {
        $this->categoryType = $categoryType;
    
        return $this;
    }

    /**
     * Get categoryType
     *
     * @return integer 
     */
    public function getCategoryType()
    {
        return $this->categoryType;
    }

    /**
     * Set isActive
     *
     * @param boolean $isActive
     * @return ContentCategory
     */
    public function setIsActive($isActive)
    {
        $this->isActive = $isActive;
    
        return $this;
    }

    /**
     * Get isActive
     *
     * @return boolean 
     */
    public function getIsActive()
    {
        return $this->isActive;
    }

    /**
     * Set createdUserId
     *
     * @param integer $createdUserId
     * @return ContentCategory
     */
    public function setCreatedUserId($createdUserId)
    {
        $this->createdUserId = $createdUserId;
    
        return $this;
    }

    /**
     * Get createdUserId
     *
     * @return integer 
     */
    public function getCreatedUserId()
    {
        return $this->createdUserId;
    }

    /**
     * Set createdAt
     *
     * @param \DateTime $createdAt
     * @return ContentCategory
     */
    public function setCreatedAt($createdAt)
    {
        $this->createdAt = $createdAt;
    
        return $this;
    }

    /**
     * Get createdAt
     *
     * @return \DateTime 
     */
    public function getCreatedAt()
    {
        return $this->createdAt;
    }

    /**
     * Set updatedUserId
     *
     * @param integer $updatedUserId
     * @return ContentCategory
     */
    public function setUpdatedUserId($updatedUserId)
    {
        $this->updatedUserId = $updatedUserId;
    
        return $this;
    }

    /**
     * Get updatedUserId
     *
     * @return integer 
     */
    public function getUpdatedUserId()
    {
        return $this->updatedUserId;
    }

    /**
     * Set updatedAt
     *
     * @param \DateTime $updatedAt
     * @return ContentCategory
     */
    public function setUpdatedAt($updatedAt)
    {
        $this->updatedAt = $updatedAt;
    
        return $this;
    }

    /**
     * Get updatedAt
     *
     * @return \DateTime 
     */
    public function getUpdatedAt()
    {
        return $this->updatedAt;
    }

    /**
     * Set createdUserIp
     *
     * @param string $createdUserIp
     * @return ContentCategory
     */
    public function setCreatedUserIp($createdUserIp)
    {
        $this->createdUserIp = $createdUserIp;
    
        return $this;
    }

    /**
     * Get createdUserIp
     *
     * @return string 
     */
    public function getCreatedUserIp()
    {
        return $this->createdUserIp;
    }
}